Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug preventing org. admins to add new users #963

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

simenheg
Copy link
Collaborator

Organization admins aren't allowed to write the field superAdmin for security reasons, so creating new users with superAdmin: false would fail even though it's false. Just don't write that field at all.

@simenheg simenheg requested a review from a team March 20, 2024 07:54
@simenheg simenheg force-pushed the org-admin-user-add-fix branch from 35d319b to 402f11e Compare April 2, 2024 06:18
Organization admins aren't allowed to write the field `superAdmin` for
security reasons, so creating new users with `superAdmin: false` would
fail even though it's `false`. Just don't write that field at all.
@simenheg simenheg force-pushed the org-admin-user-add-fix branch from 402f11e to bdf31d2 Compare April 5, 2024 13:06
@simenheg simenheg merged commit d534303 into main Apr 5, 2024
3 checks passed
@simenheg simenheg deleted the org-admin-user-add-fix branch April 5, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants